﻿@namespace MudBlazor.UnitTests.TestComponents

<MudRadioGroup @bind-SelectedOption="@option">
    <MudRadio Option="@("1")" Dense="true" />
    <MudRadio Option="@("2")" Size="Size.Small" />
    <MudRadio Option="@("3")" />
    <MudRadio Option="@("4")" Size="Size.Large" />
</MudRadioGroup>

<MudButton OnClick="OnClick" />

@code {
    public static string __description__ = "RadioGroup should be resettable";

    string option;

    private void OnClick()
    {
        option = null;
    }
}
